using System.ServiceModel;

namespace GroupChallenge.Web
{
    [ServiceContract]
    public interface IPlayerAdminService
    {
        /// <summary>
        /// // Saves the player image data and returns a player image id that the player can user to play.
        /// </summary>
        /// <param name="photo">The photo bytes to upload and save.</param>
        /// <returns>
        /// Returns the player id that the file was saved with.
        /// </returns>
        [OperationContract]
        int SavePlayerImage(byte[] photo);
    }
}
